package com.ruoyi.APPMS.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
/**
 * 零部件订单对象 purchasepartorder
 *
 * @author 任容
 * @date 2023-07-04
 */
public class Purchasepartorder implements Serializable {
    /** 零部件采购订单ID */
    @TableId(type = IdType.AUTO)
    private Long purchasepartorderid;

    /** 部件ID */
    @Excel(name = "部件ID")
    private Long partid;

    /** 供应商ID */
    @Excel(name = "供应商ID")
    private Long supplierid;
    @TableField(exist = false)
    private String suppliername;

    /** 物流快递单号 */
    @Excel(name = "物流快递单号")
    private Long trackingnumber;
    @TableField(exist = false)
    private String couriercompany;//物流公司
    @TableField(exist = false)
    private Long flag;

    /** 数量 */
    @Excel(name = "数量")
    private Long quantity;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactnumber;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private String createtime;

    /** 发货时间 */
    @Excel(name = "发货时间")
    private String modifytime;

    /** 删除标记 */
    @TableLogic
    private Long deleted;

    @TableField(exist = false)
    private Long status;//物流状态
}
